
package com.programmingeyeclient.user.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.programmingeyeclient.user.entity.Teacher;
import com.programmingeyeclient.user.vo.TeacherVO;

import java.util.List;

/**
 * 讲师 服务类
 */
public interface TeacherService extends IService<Teacher> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param teacher
	 * @return
	 */
	IPage<TeacherVO> selectTeacherPage(IPage<TeacherVO> page, TeacherVO teacher);

	/**
	 * 查询讲师总人数
	 * @return
	 */
	int getTeacherCount();

	//查询讲师
	List<Teacher> selectTeacherList();
}
